<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header', 'admin');?>
<script type="text/javascript">
  $(document).ready(function() {
	$.formValidator.initConfig({autotip:true,formid:"myform",onerror:function(msg){}});
	$("#name").formValidator({onshow:"请输入分类名称",onfocus:"分类名称不能为空"}).inputValidator({min:1,max:999,onerror:"分类名称不能为空"});
  })
</script>
<div class="pad_10">
<div class="common-form">
<form name="myform" action="?m=brand&c=brand&a=addClass&bid=<?php echo $_GET['bid']; ?>" method="post" id="myform">
<table width="100%" class="table_form contentWrap">
<tr>
<td>当前品牌</td>
<td>
<?php echo $brand['name']; ?>
</td>
</tr>

<tr>
<td>分类名称</td>
<td>
<input type="text" name="info[name]" value="" class="input-text" id="name" size="30"></input>
</td>
</tr>
</table>
    <div class="bk15"></div>
    <input name="dosubmit" type="submit" value="<?php echo L('submit')?>" class="dialog" id="dosubmit">
</form>
</div>
</div>
</body>
</html>